package cn.chenxinjie.hrm.service;

import cn.chenxinjie.hrm.domain.Course;
import cn.chenxinjie.hrm.dto.CourseDto;
import cn.chenxinjie.hrm.query.CourseDocQuery;
import cn.chenxinjie.hrm.util.AjaxResult;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenxinjie
 * @since 2022-03-12
 */
public interface ICourseService extends IService<Course> {

    AjaxResult saveCourse(CourseDto courseDto);

    AjaxResult onLineCourse(List<Long> ids);

    AjaxResult offLineCourse(List<Long> ids);

    AjaxResult queryCourses(CourseDocQuery query);
}
